package com.lmc;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.EnableAspectJAutoProxy;
import org.springframework.transaction.annotation.EnableTransactionManagement;

@SpringBootApplication
@MapperScan("com.lmc.mapper")
@EnableAspectJAutoProxy //开启自动代理功能
@EnableTransactionManagement //开启事务管理
public class CommerceCaseApplication {

    public static void main(String[] args) {
        SpringApplication.run(CommerceCaseApplication.class, args);
    }

}
